package com.diandi.signature.manager.impl.contract;

import com.diandi.signature.bean.contract.SignatureContract;
import com.diandi.signature.manager.contract.ContractDataManager;
import com.diandi.signature.mapper.SignatureContractMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by mxp on 2017/12/15.
 */
@Component
public class ContractDataManagerImpl implements ContractDataManager {

    @Autowired
    private SignatureContractMapper signatureContractMapper;

    @Override
    public List<SignatureContract> queryList(Map<String, Object> param) {
        return signatureContractMapper.queryList(param);
    }

    @Override
    public Integer queryCount(Map<String, Object> param) {
        return signatureContractMapper.queryCount(param);
    }
}
